import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * Interfata remote pentru nodul Logic.
 * 
 */
public interface RILogic extends Remote {
	public String getAllStudents(String idClient) throws RemoteException;

	public String getAllCourses(String idClient) throws RemoteException;

	public String getRegisteredStudents(String idClient, String sCID) throws RemoteException;

	public String getRegisteredCourses(String idClient, String sSID) throws RemoteException;

	public String getCompletedCourses(String idClient, String sSID) throws RemoteException;

	public String makeARegistration(String idClient, String sSID, String sCID) throws RemoteException;

	/**
	 * Cheama doar metoda de logare din Logger pentru a jurnaliza faptul ca un
	 * client a iesit.
	 * 
	 * @param idClient
	 *            identificatorul clientului
	 * @return
	 * @throws RemoteException
	 */
	public String clientExit(String idClient) throws RemoteException;
}